home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / gfx / pbm / manuals.lha / netpbm / man / pnmalias.man < prev    next >
Text File  |  1994-03-01  |  3KB  |  133 lines

  1.  
  2.  
  3.  
  4.      pnmalias(1)           AMIGA (30 April 1992)           pnmalias(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           pnmalias - antialias a portable anyumap.
  10.  
  11.      SYNOPSIS
  12.           pnmalias [-bgcolor color] [-fgcolor color] [-bonly] [-fonly]
  13.           [-balias] [-falias] [-weight w] [pnmfile]
  14.  
  15.      DESCRIPTION
  16.           Reads a portable anymap as input, and applies anti-aliasing
  17.           to background and foreground pixels.  If the input file is a
  18.           portable bitmap, the output anti-aliased image is promoted
  19.           to a graymap, and a message is printed informing the user of
  20.           the change in format.
  21.  
  22.      OPTIONS
  23.           -bgcolor colorb, -fgcolor colorf
  24.                set the background color to colorb, and the foreground
  25.                to color to colorf. Pixels with these values will be
  26.                anti-aliased. by default, the background color is taken
  27.                to be black, and foreground color is assumed to be
  28.                white. The colors can be specified in five ways:
  29.  
  30.                o    A name, assuming that a pointer to an X11-style
  31.                     color names file was compiled in.
  32.  
  33.                o    An X11-style hexadecimal specifier: rgb:r/g/b,
  34.                     where r g and b are each 1- to 4-digit hexadecimal
  35.                     numbers.
  36.  
  37.                o    An X11-style decimal specifier: rgbi:r/g/b, where
  38.                     r g and b are floating point numbers between 0 and
  39.                     1.
  40.  
  41.                o    For backwards compatibility, an old-X11-style
  42.                     hexadecimal number: #rgb, #rrggbb, #rrrgggbbb, or
  43.                     #rrrrggggbbbb.
  44.  
  45.                o    For backwards compatibility, a triplet of numbers
  46.                     separated by commas: r,g,b, where r g and b are
  47.                     floating point numbers between 0 and 1.  (This
  48.                     style was added before MIT came up with the
  49.                     similar rgbi style.)
  50.  
  51.                Note that even when dealing with graymaps, background
  52.                and foreground colors need to be specified in the
  53.                fashion described above.  In this case, background and
  54.                foreground pixel values are taken to be the value of
  55.                the red component for the given color.
  56.  
  57.           -bonly, -fonly
  58.                Apply anti-aliasing only to background (-bonly), or
  59.                foreground (-fonly) pixels.
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      pnmalias(1)           AMIGA (30 April 1992)           pnmalias(1)
  71.  
  72.  
  73.  
  74.           -balias, -falias
  75.                Apply anti-aliasing to all pixels surrounding
  76.                background (-balias), or foreground (-falias) pixels.
  77.                By default, anti-aliasing takes place only among
  78.                neighboring background and foreground pixels.
  79.  
  80.           -weight w
  81.                Use w as the central weight for the aliasing filter.  W
  82.                must be a real number in the range 0 < w < 1.  The
  83.                lower the value of w is, the "blurrier" the output
  84.                image is.  The default is w = 1/3.
  85.  
  86.      SEE ALSO
  87.           pbmtext(1), pnmsmooth(1), pnm(5)
  88.  
  89.      AUTHOR
  90.           Copyright (C) 1992 by Alberto Accomazzi, Smithsonian
  91.           Astrophysical Observatory.
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 3/1/94)
  130.  
  131.  
  132.  
  133.